﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace WindowSwitcher.Behaviors
{
    public class KeysCollections : ObservableCollection<KeyCollection>
    {
        public KeysCollections()
        {
            base.Add(new KeyCollection { Key = Key.F1, Enabled = true });
            base.Add(new KeyCollection { Key = Key.F2, Enabled = true });
            base.Add(new KeyCollection { Key = Key.F3, Enabled = true });
            base.Add(new KeyCollection { Key = Key.F4, Enabled = true });
            base.Add(new KeyCollection { Key = Key.F5, Enabled = true });
            base.Add(new KeyCollection { Key = Key.F6, Enabled = true });
            base.Add(new KeyCollection { Key = Key.F7, Enabled = true });
            base.Add(new KeyCollection { Key = Key.F8, Enabled = true });
        }

        public void Reset()
        {
            base.Items.All(x => x.Enabled = true);
        }
    }
}
